package com.caipiao.lottery.lty.message;

/**
 * @author GaoFeng
 */

import com.alibaba.fastjson.JSON;

public abstract class MessageResponse implements MessageInterface
{
	public MessageInterface ParseFromString(String str) throws Exception
	{
		return JSON.parseObject(str, this.getClass());
	}
	
	public String ToString() throws Exception
	{
		return JSON.toJSONString(this);
	}
	
	public void CheckParam() throws Exception
	{
	}
}
